import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';
const notice: AppRouteRecordRaw = {
  path: '/notice',
  name: 'notice',
  component: DEFAULT_LAYOUT,
  meta: {
    locale: '通知公告',
    ignoreCache: true,
    requiresAuth: true,
    icon: 'icon-send',
    order: 5,
    roles: 'system:notice',
  },
  children: [
    {
      path: 'noticelist',
      name: 'noticelist',
      component: () => import('@/views/notice/index.vue'),
      meta: {
        locale: '通知列表',
        ignoreCache: true,
        requiresAuth: true,
        roles: 'system:notice',
      },
    }

  ],
};

export default notice;